package org.example.text01;

public class Rect extends Shape{
    private double longs;
    private double wide;
    public Rect() {
    }

    public Rect(double area, double girth, double longs, double wide) {
        super(area, girth);
        this.longs = longs;
        this.wide = wide;
    }

    public double getLongs() {
        return longs;
    }

    public void setLongs(double longs) {
        this.longs = longs;
    }

    public double getWide() {
        return wide;
    }

    public void setWide(double wide) {
        this.wide = wide;
    }
}
